package com.gxa.modules.model.entity.hospital;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.io.Serializable;

/**
* <p>
    * 
    * </p>
*
* @author lst
* @since 2022-11-19
*/
@Data
@TableName("city")
@ApiModel(value = "区对象", description = "区对象")
public class City implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("city主键")
    private Integer id;

    @TableField("city_id")
    @ApiModelProperty("区编号")
    private Integer cityID;

    @TableField("city")
    @ApiModelProperty("区名")
    private String city;

    @TableField("father_id")
    @ApiModelProperty("省编号")
    private Integer fatherID;


}




